import request from '@/utils/request'

// 勘探规范列表
export function listStandard(query) {
  return request({
    url: '/supervise/prospectStandard/list',
    method: 'post',
    params: query
  })
}

// 删除勘探规范
export function delStandard(id) {
  return request({
    url: '/supervise/prospectStandard/' + id,
    method: 'DELETE'
  })
}

// 新增勘探规范
export function addStandard(data) {
  return request({
    url: '/supervise/prospectStandard',
    method: 'post',
    data: data
  })
}

// 更新勘探规范
export function updateStandard(data) {
  return request({
    url: '/supervise/prospectStandard/update',
    method: 'post',
    data: data
  })
}

// 勘探规范详情
export function getStandardById(id) {
  return request({
    url: '/supervise/prospectStandard/' + id,
    method: 'get'
  })
}

